package com.petruisfan.banimei;

import android.util.Log;
import android.widget.TextView;

public class Utils {
	private static final String TAG = Utils.class.getSimpleName();

	public static void refreshTotal(TextView view) {
		RecordsDbAdapter rDbAdapter = new RecordsDbAdapter();
		String sum = rDbAdapter.getInstance().getSum();
		view.setText(sum);
		
		Log.d(TAG, "Refreshed total spent text view.");
	}
}
